package cn.edu.zafu.bigdata.XuShuXin.Exp1029;
/*作业2 */

public class StudentGradeTestX {
    public static void main(String[] args) {
        StudentGradeMangerX stm = new StudentGradeMangerX();
        //添加学生
        stm.addStudent("wangwu", 88);
        stm.addStudent("zhaoliu", 98);
        stm.addStudent("xiaoming", 68);
        stm.addStudent("lisi", 38);
        //获取成绩
        System.out.println(stm.getGrade("wangwu"));
        System.out.println(stm.getGrade("zhaoliu"));
        //删除学生
        stm.removeStudent("zhaoliu");
        System.out.println(stm.getGrade("zhaoliu"));


    }
}
